import request from "@/services";

class User {
  // 产品列表列表
  static takelist= (params)=> request.get('/pro/list',{params})
  // 秒杀推荐和秒杀的列表
  static seckilllist= (data)=> request.post('/pro/showdata',data)
  //筛选列表
  static Prolist= (data)=> request.post('/pro/searchPro',data)

  static scrlist= (data)=> request.post('/pro/updateFlag',data)
  static getProList = data=> request.get("/category/querythird?", {params:data})
}
export default User